@layout("/common/_container.html"){
<style>.integralHeader{background:#6090b8;color:white;padding:5px 10px;}.integralContent{height:calc(100% - 77px);overflow:auto;padding:15px 20px;}.btnBox{background:#f1f1f1;position:fixed;bottom:0;width:100%;padding:5px 0;text-align:center;}.btnBox > button{margin:0;color:white;background:#6090b8;padding:5px 14px;}.btnBox > button:last-of-type{background:white;color:inherit;border:1px solid #999999}.frameBox{width:90%;height:28px;text-align:center;border:1px solid #cccccc;border-radius:3px;}.integralMall table th{text-align:center}</style>
<div class="integralMall" style="height: 100%">
    <input type="hidden" id="numValue" value="${num}">
    <input type="hidden" id="scoringStatus" value="${scoringStatus}">
    <div class="integralHeader">智能评分详情</div>
    <div class="integralContent">
        <div>
            <div id="avatarPreId" class="uploader-list" style="display: flex;flex-wrap: wrap;margin-bottom: 15px;">
                @for(item in qualityAssuranceInfoList){
                &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;
                <div id="${item.id}" class="cp_img" style="width: 200px;height: 120px;padding: 8px 9px;border: 1px solid #DDDDDD;margin: 0 8px 10px 0;">
                    <img class="imagePath" src="${item.imageUrl}" alt="" style="width: 180px;height: 85px;">
                    @if(item.status == "1"){
                    @if(item.iconName == "术前"){
                    <div style="text-align: center;">${item.iconName}
                        <div>智能评分：&emsp;&emsp;${item.score}分</div>
                    </div>
                    @}
                    @else if(item.iconName != "术前"){
                    <div style="text-align: center;">${item.iconName}
                        <div>${item.score}分</div>
                    </div>
                    @}
                    @}
                    @if(item.status == "2"){
                    <div style="text-align: center;">${item.iconName}
                        <div style="font-size: 12px;color: red;">${item.cause}</div>
                    </div>
                    @}
                </div>
                @}
            </div>
        </div>
        <div>
            <label><input name="testradio" type="radio" id="radio0" value="0"/>智能打分</label>
            <table class="table table-bordered" style="margin: 0;text-align: center">
                <tr style="background: #f0f7fd">
                    <th></th>
                    <th>是否包含关键要素<br>(10分)</th>
                    <th>照片构图合理<br>(10分)</th>
                    <th>照片清晰度<br>(10分)</th>
                    <th>龋坏清干净否,针对术中(20分)</th>
                    <th>所补牙与本牙颜色是否一致(20分)</th>
                    <th style="font-size: 13px;">所补牙与本牙,邻牙颜色是否一致(各占10分)</th>
                    <th>有无牙齿尖窝形态,限于后牙(10分)</th>
                    <th></th>
                </tr>
                <tr style="background: #f0f7fd">
                    <th>图片类型</th>
                    <th>A1</th>
                    <th>A2</th>
                    <th>A3</th>
                    <th>A4</th>
                    <th>A5</th>
                    <th>A6</th>
                    <th>A7</th>
                    <th>智评总分</th>
                </tr>
                @for(item in qualityAssuranceInfoList){
                <tr class="preoperative operativeScore">
                    <td class="operativeType">${item.iconName}</td>
                    <td>
                        <div>${item.A1}</div>
                    </td>
                    <td>
                        <div>${item.A2}</div>
                    </td>
                    <td>
                        <div>${item.A3}</div>
                    </td>
                    <td>
                        <div>${item.A4}</div>
                    </td>
                    <td>
                        <div>${item.A5}</div>
                    </td>
                    <td>
                        <div>${item.A6}</div>
                    </td>
                    <td>
                        <div>${item.A7}</div>
                    </td>
                    <td>
                        <div>${item.A1+item.A2+item.A3+item.A4+item.A5+item.A6+item.A7}</div>
                    </td>
                </tr>
                @}
                @for(item in qualityAssuranceInfoList){
                @if(item.iconName == "术前"){
                <tr class="preoperative operativeScore">
                    <td class="operativeType">智评总分</td>
                    <td>
                        <div>${item.A8}</div>
                    </td>
                    <td>
                        <div>${item.A9}</div>
                    </td>
                    <td>
                        <div>${item.A10}</div>
                    </td>
                    <td>
                        <div>${item.A11}</div>
                    </td>
                    <td>
                        <div>${item.A12}</div>
                    </td>
                    <td>
                        <div>${item.A13}</div>
                    </td>
                    <td>
                        <div>${item.A14}</div>
                    </td>
                    <td>
                        <div class="frameAox fraction A7">${item.A8+item.A9+item.A10+item.A11+item.A12+item.A13+item.A14}</div>
                    </td>
                </tr>
                @}
                @}
            </table>
        </div>
        <div>
            @for(item in qualityDoctorInfoList){
            <label><input name="testradio" type="radio" id="${item.id}" value="1"/>人工打分</label>
            <table class="table table-bordered" style="margin: 0;text-align: center">
                <tr style="background: #f0f7fd">
                    <th>图片类型</th>
                    <th>B1</th>
                    <th>B2</th>
                    <th>B3</th>
                    <th>B4</th>
                    <th>B5</th>
                    <th>B6</th>
                    <th>B7</th>
                    <th>人评总分</th>
                </tr>
                @for(currentInfo in item.currentList){
                <tr class="preoperative operativeScore">
                    <td class="operativeType">${currentInfo.photoType}</td>
                    <td>
                        <div>${currentInfo.A1}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A2}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A3}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A4}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A5}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A6}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A7}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A1+currentInfo.A2+currentInfo.A3+currentInfo.A4+currentInfo.A5+currentInfo.A6+currentInfo.A7}</div>
                    </td>
                </tr>
                @}
                @for(currentInfo in item.currentList){
                @if(currentInfo.photoType == "术前"){
                <tr class="preoperative operativeScore">
                    <td class="operativeType">人评总分</td>
                    <td>
                        <div>${currentInfo.A8}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A9}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A10}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A11}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A12}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A13}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A14}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A8+currentInfo.A9+currentInfo.A10+currentInfo.A11+currentInfo.A12+currentInfo.A13+currentInfo.A14}</div>
                    </td>
                </tr>
                <tr class="preoperative operativeScore" style="background: #e4d8ca">
                    <td class="operativeType">人机差</td>
                    <td>
                        <div>-</div>
                    </td>
                    <td>
                        <div>-</div>
                    </td>
                    <td>
                        <div>-</div>
                    </td>
                    <td>
                        <div>${currentInfo.A15}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A16}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A17}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A18}</div>
                    </td>
                    <td>
                        <div>${currentInfo.A19}</div>
                    </td>
                </tr>
                @}
                @}
            </table>
            @}

        </div>
    </div>
    <div class="btnBox">
        <button type="button" class="btn" id="cancel">取消</button>
    </div>
</div>
@layout("/common/_bigimg.html"){
@}
<script src="${ctxPath}/static/modular/qualityAssurance/qualityArtificialScoring.js?v=20200718"></script>
@}